package com.ruoyi.biz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 意见反馈对象 biz_feedback
 * 
 * @author ruoyi
 * @date 2022-02-25
 */
public class BizFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 意见反馈ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 意见 */
    @Excel(name = "意见")
    private String feedback;

    /** 回复状态 0:待回复 1:已回复 */
    @Excel(name = "回复状态 0:待回复 1:已回复")
    private Integer status;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyMsg;

    /** 回复人ID */
    @Excel(name = "回复人ID")
    private Long replyUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFeedback(String feedback) 
    {
        this.feedback = feedback;
    }

    public String getFeedback() 
    {
        return feedback;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }
    public void setReplyMsg(String replyMsg) 
    {
        this.replyMsg = replyMsg;
    }

    public String getReplyMsg() 
    {
        return replyMsg;
    }
    public void setReplyUserId(Long replyUserId) 
    {
        this.replyUserId = replyUserId;
    }

    public Long getReplyUserId() 
    {
        return replyUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("feedback", getFeedback())
            .append("status", getStatus())
            .append("replyTime", getReplyTime())
            .append("replyMsg", getReplyMsg())
            .append("replyUserId", getReplyUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
